@extends('shared.master')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12">
            <ol class="breadcrumb layout-title">
                <li><a href="{{url('project')}}">Task</a></li>
                <li class="active" ><i class="fa fa-user fa-fw"></i> Input</li>
            </ol>
                {{PageData::Error()}}

            <div class="col-lg-6">
                {{ Form::open(array('url' => '#')) }}
                <div class="form-group">
                    {{Form::label('name','Name *')}}
                    {{Form::hidden('id',$Model->getId())}}
                    {{Form::text('name',$Model->getName(),array('class'=>'form-control'))}}
                </div>
                
                <div class="form-group">
                    {{Form::label('description','Description *')}}
                    {{Form::text('description',$Model->getDescription(),array('class'=>'form-control'))}}
                </div>
                
                <div class="form-group">
                    {{Form::label('start_date','Start Date *')}}
                    {{Form::text('start_date',$Model->getStart_date(),array('class'=>'form-control'))}}

				</div>
				
				<div class="form-group">
                    {{Form::label('due_date','Due Date *')}}
                    {{Form::text('due_date',$Model->getDue_date(),array('class'=>'form-control hasDatepicker'))}}
                </div>
                
                <div class="form-group">
                    {{Form::label('priority','Priority')}}
                    {{Form::select('priority', $PriorityCombo, $Model->getPriority()!=null ? $Model->getPriority()->getId() : "",array('class'=>'form-control'))}}
                </div>
                
                <div class="form-group">
                    {{Form::label('task_id','Task')}}
                    {{Form::text('task_id',$Model->getTask_id(),array('class'=>'form-control'))}}
                </div>
				
				<div class="form-group">
                    {{Form::label('status_id','Status Id')}}
                    {{Form::text('status_id',$Model->getStatus_id(),array('class'=>'form-control'))}}
                </div>
				
                <div class="form-group">
                    {{Form::label('created_by','Created By')}}
                    {{Form::text('created_by',$Model->getCreated_by(),array('class'=>'form-control'))}}
                </div>
				 <div class="form-group">
                    {{Form::label('created_date','Created Date')}}
                    {{Form::text('created_date',$Model->getCreated_date(),array('class'=>'form-control hasDatepicker'))}}
                </div>
				<div class="form-group">
                    {{Form::label('last_update_by','Last Update By')}}
                    {{Form::text('last_update_by',$Model->getLast_update_by()->getId,array('class'=>'form-control'))}}
                </div>
				<div class="form-group">
                    {{Form::label('last_update_date','Last Update Date')}}
                    {{Form::text('last_update_date',$Model->getLast_update_date(),array('class'=>'form-control hasDatepicker'))}}
                </div>
		
                <p>
                    {{Form::submit('Save',array('class'=>'btn btn-primary',"name"=>"Action"))}}
                    {{Form::button('Close',array('class'=>'btn btn-primary','onClick'=>"location.href='".url('task')."'"))}}
                </p>
                {{ Form::close() }}
            </div>
        </div>
        <!-- /.col-lg-12 -->
    </div>
    <!-- /.row -->
</div>
<!-- /.container-fluid -->
    <script>
    
    </script>
@stop